<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>WindowEvent</title>
    <style>
  .big-font {
    font-size: 50px; /* 设置字体大小为24像素 */
  }

    </style>
</head>
<body>
<input type="button" value="新窗口中打开网页" onclick="OpenNewWindow()" class="big-font">
<script type="text/javascript">
    function OpenNewWindow()
    {
        let openedWindow = window.open("about:blank", "", "location=no,status=no,scrollvars=no");
        openedWindow.document.write("<p>这是新的窗口</p>");
        openedWindow.focus();
    }


</script>
</body>
</html>